﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MobileRegistration.aspx.cs" Inherits="TripLOA.GUI.m.MobileRegistration" culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Mobile Registration</title>
     <link rel="stylesheet" type="text/css" href="MResources/style.css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:CreateUserWizard ID="CreateUserWizard1" 
            onactivestepchanged="CreateUserWizard1_ActiveStepChanged" runat="server" 
            oncreateduser="CreateUserWizard1_CreatedUser" Height="177px" 
            meta:resourcekey="CreateUserWizard1Resource1">
            <StepNavigationTemplate>
                <asp:Button ID="StepPreviousButton" runat="server" CausesValidation="False" 
                    CommandName="MovePrevious" Text="Previous" 
                    meta:resourcekey="StepPreviousButtonResource1" />
                <asp:Button ID="StepNextButton" runat="server" CommandName="MoveNext" 
                    Text="Next" meta:resourcekey="StepNextButtonResource1" />
            </StepNavigationTemplate>
            <WizardSteps>
                <asp:CreateUserWizardStep runat="server" EnableTheming="False" 
                    meta:resourcekey="CreateUserWizardStepResource1" 
                    ID="CreateUserWizardStep1">
                    <ContentTemplate>
                        <table border="0">
                            <tr>
                                <td align="left" colspan="2">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" 
                                        meta:resourcekey="UserNameLabelResource1" Text="User 
                                    Name:"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="UserName" runat="server" Width="99px" 
                                        meta:resourcekey="UserNameResource1"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                        ControlToValidate="UserName" ErrorMessage="User Name is required." 
                                        ToolTip="User Name is required." ValidationGroup="CreateUserWizard1" 
                                        meta:resourcekey="UserNameRequiredResource1" Text="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" 
                                        meta:resourcekey="PasswordLabelResource1" Text="Password:"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="Password" runat="server" TextMode="Password" Width="100px" 
                                        meta:resourcekey="PasswordResource1"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                        ControlToValidate="Password" ErrorMessage="Password is required." 
                                        ToolTip="Password is required." ValidationGroup="CreateUserWizard1" 
                                        meta:resourcekey="PasswordRequiredResource1" Text="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="ConfirmPasswordLabel" runat="server" 
                                        AssociatedControlID="ConfirmPassword" 
                                        meta:resourcekey="ConfirmPasswordLabelResource1" Text="Confirm Password:"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="ConfirmPassword" runat="server" TextMode="Password" 
                                        Width="100px" meta:resourcekey="ConfirmPasswordResource1"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" 
                                        ControlToValidate="ConfirmPassword" 
                                        ErrorMessage="Confirm Password is required." 
                                        ToolTip="Confirm Password is required." 
                                        ValidationGroup="CreateUserWizard1" 
                                        meta:resourcekey="ConfirmPasswordRequiredResource1" Text="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email" 
                                        meta:resourcekey="EmailLabelResource1" Text="E-mail:"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="Email" runat="server" Width="100px" 
                                        meta:resourcekey="EmailResource1"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="EmailRequired" runat="server" 
                                        ControlToValidate="Email" ErrorMessage="E-mail is required." 
                                        ToolTip="E-mail is required." ValidationGroup="CreateUserWizard1" 
                                        meta:resourcekey="EmailRequiredResource1" Text="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="QuestionLabel" runat="server" AssociatedControlID="Question" 
                                        meta:resourcekey="QuestionLabelResource1" Text="Security 
                                    Question:"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="Question" runat="server" Width="100px" 
                                        meta:resourcekey="QuestionResource1"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="QuestionRequired" runat="server" 
                                        ControlToValidate="Question" ErrorMessage="Security question is required." 
                                        ToolTip="Security question is required." 
                                        ValidationGroup="CreateUserWizard1" 
                                        meta:resourcekey="QuestionRequiredResource1" Text="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <asp:Label ID="AnswerLabel" runat="server" AssociatedControlID="Answer" 
                                        meta:resourcekey="AnswerLabelResource1" Text="Security 
                                    Answer:"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="Answer" runat="server" Width="100px" 
                                        meta:resourcekey="AnswerResource1"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="AnswerRequired" runat="server" 
                                        ControlToValidate="Answer" ErrorMessage="Security answer is required." 
                                        ToolTip="Security answer is required." ValidationGroup="CreateUserWizard1" 
                                        meta:resourcekey="AnswerRequiredResource1" Text="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" colspan="2">
                                    <asp:CompareValidator ID="PasswordCompare" runat="server" 
                                        ControlToCompare="Password" ControlToValidate="ConfirmPassword" 
                                        Display="Dynamic" 
                                        ErrorMessage="The Password and Confirmation must match." 
                                        ValidationGroup="CreateUserWizard1" 
                                        meta:resourcekey="PasswordCompareResource1"></asp:CompareValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" colspan="2" style="color:Red;">
                                    <asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False" 
                                        meta:resourcekey="ErrorMessageResource1"></asp:Literal>
                                </td>
                            </tr>
                        </table>
                    </ContentTemplate>
                    <CustomNavigationTemplate>
                        <table border="0" cellspacing="5" style="width:100%;height:100%;">
                            <tr align="left">
                                <td align="left" colspan="0">
                                    <asp:Button ID="StepNextButton" runat="server" CommandName="MoveNext" 
                                        Text="Create User" ValidationGroup="CreateUserWizard1" 
                                        meta:resourcekey="StepNextButtonResource2" />
                                </td>
                            </tr>
                        </table>
                    </CustomNavigationTemplate>
                </asp:CreateUserWizardStep>
                <asp:CompleteWizardStep runat="server" AllowReturn="False" EnableTheming="True" 
                    EnableViewState="False" meta:resourcekey="CompleteWizardStepResource1" 
                    ID="CompleteWizardStep1">
                    <ContentTemplate>
                        <table border="0">
                            <tr>
                                <td align="center" colspan="2">
                                    Complete</td>
                            </tr>
                            <tr>
                                <td>
                                    Your account has been created.</td>
                            </tr>
                            <tr>
                                <td align="center" colspan="2">
                                    <asp:LinkButton ID="LinkButton1" runat="server" 
                                        meta:resourcekey="LinkButton1Resource1" onclick="LinkButton1_Click" 
                                        PostBackUrl="~/m/MobileDownloads.aspx" Text="Scarica il client"></asp:LinkButton>
                                </td>
                            </tr>
                        </table>
                    </ContentTemplate>
                </asp:CompleteWizardStep>
            </WizardSteps>
        </asp:CreateUserWizard>
    
    </div>
    </form>
</body>
</html>
